package ua.kharkov.khpi.tarasenko.bach.dao.core.category;

import java.util.ArrayList;

import ua.kharkov.khpi.tarasenko.bach.core.db.EShopDataStoreException;

/**
 * Interface for DAO that works with datasource with categories.
 * 
 * @author oleksandr
 * 
 */
public interface CategoryDAO {

	/**
	 * Finds all categories.
	 * 
	 * @return found categories.
	 * @throws EShopDataStoreException
	 *             if error occurred during execution.
	 */
	public ArrayList<CategoryDTO> findAllCategories()
			throws EShopDataStoreException;
}
